﻿using FreeSql.DatabaseModel;using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Threading.Tasks;
using Newtonsoft.Json;
using FreeSql.DataAnnotations;

namespace DataBase.Main
{

	[JsonObject(MemberSerialization.OptIn), Table(Name = "t_rolePowerDistribute", DisableSyncStructure = true)]
	public partial class TRolePowerDistribute {

		[JsonProperty, Column(IsPrimary = true, IsIdentity = true)]
		public long Id { get; set; }

		/// <summary>
		/// 数据录入时间
		/// </summary>
		[JsonProperty]
		public DateTime? CreateTime { get; set; }

		/// <summary>
		/// 权限Id标识
		/// </summary>
		[JsonProperty, Column(Name = "powerId")]
		public long? PowerId { get; set; }

		/// <summary>
		/// 角色Id
		/// </summary>
		[JsonProperty, Column(Name = "roleId")]
		public long? RoleId { get; set; }

	}

}
